<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class WechatServiceAccountAddress extends Model
{
    protected $table = 'wechat_service_account_addresses';

    protected $fillable = [
        'user_id',
        'consignee',
        'mobile',
        'province',
        'city',
        'district',
        'address',
        'is_default',
    ];

    // 可选：关联用户
    public function user()
    {
        return $this->belongsTo(WechatServiceAccountUser::class, 'user_id');
    }
}
